From 04d69b610f8955145dba328f74e5d7b756a49d16 Mon Sep 17 00:00:00 2001 From: Muhammad Kaisar Arkhan Date: Sat, 30 Dec 2017 10:51:40 +0700 Subject: Run test and build on Travis CI Closes https://github.com/Flameeyes/glucometerutils/issues/35 --- .gitignore | 2 ++ .travis.yml | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index 70028ed..90d1a19 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ /dist/ __pycache__/ .cache +build +*.egg-info/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1948c7f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: python + +python: + - 3.4 + - 3.5 + - 3.6 + +install: + - pip install -r test-requirements.txt + +script: + - py.test + - python setup.py bdist_wheel + - pip install ./dist/glucometerutils-*.whl -- cgit v1.2.3